/**
 * output package name
 */
package com.kingdee.eas.mx.basedata.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class QueryEnum extends StringEnum
{
    public static final String SUPPLIER_VALUE = "0";
    public static final String DEPARTMENTS_VALUE = "1";

    public static final QueryEnum supplier = new QueryEnum("supplier", SUPPLIER_VALUE);
    public static final QueryEnum departments = new QueryEnum("departments", DEPARTMENTS_VALUE);

    /**
     * construct function
     * @param String queryEnum
     */
    private QueryEnum(String name, String queryEnum)
    {
        super(name, queryEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static QueryEnum getEnum(String queryEnum)
    {
        return (QueryEnum)getEnum(QueryEnum.class, queryEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(QueryEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(QueryEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(QueryEnum.class);
    }
}